package com.cuckoo.cuckoo_app2.apiAsync;

import com.cuckoo.cuckoo_app2.dao.WithdrawalInformation;
import com.google.gson.JsonObject;

import java.util.HashMap;

public interface WalletApi {
    /**
     * 获取我的钱包
     * /cuckoo/cuWalletaMnagement/getByUserId
     */
    public void performGetWalletAsync(final String userId, final BaseCallbac<JsonObject> callbac);

    /**
     * 获取交易明显
     * /cuckoo/cuWalletaTransaction/list
     */
    public void performGetWalletListAsync(final HashMap<String, String> params, final BaseCallbac<JsonObject> callbac);

    /**
     * 提交提现信息
     * /cuckoo/cuWithdrawalRecord/insertWithdrawalRecord
     */
    public void performSubmitWithdrawAsync(final WithdrawalInformation withdrawalInformation, final BaseCallbac<JsonObject> callbac);

}
